class CreateFavoriteLists < ActiveRecord::Migration
  def self.up
    create_table :favorite_lists do |t|
      t.integer :user_id, :null => false
      t.string :name
      t.timestamps
    end

    add_foreign_key(:favorite_lists, :users, :column => :user_id)
  end

  def self.down
    drop_table :favorite_lists
  end
end
